package com.uzai.console.dto.user.wechatuser;

import com.uzai.console.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @Auther: liuqi
 * @Date: 2021/8/10 14:58
 * @Description:
 */
@ApiModel("微信用户群发消息参数")
public class WechatUserGroupSendMsgDto extends BaseDto {

    @ApiModelProperty("任务名称")
    private String name;

    @ApiModelProperty("标签")
    private List<String> userLabList;

    @ApiModelProperty("清除标签(0-未开启；1-开启)")
    private Integer cleanLab;

    @ApiModelProperty("备注，支持变量[昵称]、[群发时间(yy-MM-dd)]")
    private String userRemark;

    @ApiModelProperty("发送间隔时间")
    private Integer timeInterval;

    @ApiModelProperty("夜间时间（如：23:00:00 - 08:00:00）")
    private String nightTime;

    @ApiModelProperty("发送消息[昵称]、[随机表情]")
    private String content;

    @ApiModelProperty("免骚扰时间间隔(以小时为单位)")
    private Integer busyTimeInterval;

    @ApiModelProperty("开始时间")
    private Integer beginTime;

    @ApiModelProperty("结束时间")
    private Integer endTime;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<String> getUserLabList() {
        return userLabList;
    }

    public void setUserLabList(List<String> userLabList) {
        this.userLabList = userLabList;
    }

    public String getUserRemark() {
        return userRemark;
    }

    public void setUserRemark(String userRemark) {
        this.userRemark = userRemark;
    }

    public Integer getTimeInterval() {
        return timeInterval;
    }

    public void setTimeInterval(Integer timeInterval) {
        this.timeInterval = timeInterval;
    }

    public String getNightTime() {
        return nightTime;
    }

    public void setNightTime(String nightTime) {
        this.nightTime = nightTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Integer beginTime) {
        this.beginTime = beginTime;
    }

    public Integer getEndTime() {
        return endTime;
    }

    public void setEndTime(Integer endTime) {
        this.endTime = endTime;
    }

    public Integer getCleanLab() {
        if(cleanLab == null){
             cleanLab = 0;
        }
        return cleanLab;
    }

    public void setCleanLab(Integer cleanLab) {
        this.cleanLab = cleanLab;
    }

    public Integer getBusyTimeInterval() {
        return busyTimeInterval;
    }

    public void setBusyTimeInterval(Integer busyTimeInterval) {
        this.busyTimeInterval = busyTimeInterval;
    }
}
